package com.zhsd.gulimall.member.feign;


import com.zhsd.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @FeignClient("gulimall-coupon") : 这是一个声明式的远程调用(声明调用的是gulimall-coupon服务)
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * gulimall-coupon 中 controller 的全部方法提
     * @return
     */
    @RequestMapping("coupon/coupon/member/list")
    public R memberCoupon();
}
